package com.cdut.logistics.config;

//import com.cdut.logistics.model.entity.Model.Academy;
//import com.cdut.logistics.model.entity.Model.Department;
//import com.cdut.logistics.model.entity.Model.Dorm;
//import com.cdut.logistics.model.entity.Model.Major;
//import com.cdut.logistics.model.entity.Model.Repair_Detail;
//import com.cdut.logistics.model.entity.Model.Repair_Order;
//import com.cdut.logistics.model.entity.Model.Repair_Task;
//import com.cdut.logistics.model.entity.Model.Suggestion;
import com.cdut.logistics.model.entity.Model.Academy;
import com.cdut.logistics.model.entity.Model.Dorm;
import com.cdut.logistics.model.entity.Model.Major;
import com.cdut.logistics.model.entity.Model.Repair_Detail;
import com.cdut.logistics.model.entity.Model.Repair_Order;
import com.cdut.logistics.model.entity.Model.Repair_Task;
import com.cdut.logistics.model.entity.system.Authority;
import com.cdut.logistics.model.entity.system.Character;
import com.cdut.logistics.model.dao.datacentre.Academic;
import com.cdut.logistics.model.dao.datacentre.Area;
import com.cdut.logistics.model.dao.datacentre.Dept;
import com.cdut.logistics.model.dao.datacentre.Dict;
import com.cdut.logistics.model.dao.datacentre.School;
import com.cdut.logistics.model.dao.datacentre.User;
import com.jfinal.plugin.activerecord.ActiveRecordPlugin;

/**
 * Generated by JFinal, do not modify this file.
 * <pre>
 * Example:
 * public void configPlugin(Plugins me) {
 *     ActiveRecordPlugin arp = new ActiveRecordPlugin(...);
 *     _MappingKit.mapping(arp);
 *     me.add(arp);
 * }
 * </pre>
 */
public class _MappingKit {
	
	public static void mapping(ActiveRecordPlugin arp) {
		arp.addMapping("user","id",User.class);
		arp.addMapping("role","id",Character.class);
		arp.addMapping("authority","id",Authority.class);
		arp.addMapping("department", "id", Dept.class);
		arp.addMapping("area", "id", Area.class);
		arp.addMapping("sys_dict", Dict.class);
		arp.addMapping("academy", Academic.class);
		arp.addMapping("academy", Academy.class);
		arp.addMapping("school", School.class);
		arp.addMapping("dorm", Dorm.class);
		arp.addMapping("major", Major.class);
		arp.addMapping("repair_order", Repair_Order.class);
//		arp.addMapping("repair_detail", Repair_Detail.class);
		arp.addMapping("repair_task", Repair_Task.class);

		
	}
}

